package com.accp;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.accp.demo.Demo;

public class Test {
	public static void main(String[] args) {
		ApplicationContext act=new ClassPathXmlApplicationContext("beans.xml");
		Demo d=(Demo)act.getBean("demo");
		d.test();
	}
}
